Adwaita: notebook tab sizing fix
authorLapo Calamandrei <calamandrei@gmail.com>
Fri, 26 Feb 2016 18:01:19 +0000 (19:01 +0100)
committerLapo Calamandrei <calamandrei@gmail.com>
Fri, 26 Feb 2016 18:01:55 +0000 (19:01 +0100)
gtk/theme/Adwaita/_common.scss
gtk/theme/Adwaita/gtk-contained-dark.css
gtk/theme/Adwaita/gtk-contained.css

index 162508cfd447e1f7ab730e82ee09d8f8a9c53bb6..5691a48cc08c2149e49da195a7ad575e6bff94c0 100644 (file)
@@ -1988,6 +1988,9 @@ notebook {
         }
       }
     }
+
+    &.top tab { padding-bottom: 4px; }
+    &.bottom tab { padding-top: 4px; }
   }
 
   > stack:not(:only-child) { // the :not(:only-child) is for "hidden" notebooks
index 8df37ad1865c4357233bd7a40f3cc5240d331d89..5282bb29d87f58e8c0661c7b951c8e699029189e 100644 (file)
@@ -2206,6 +2206,10 @@ notebook > header {
       margin-bottom: 4px; }
       notebook > header.left tabs tab.reorderable-page, notebook > header.right tabs tab.reorderable-page {
         border-style: solid none; }
+  notebook > header.top tab {
+    padding-bottom: 4px; }
+  notebook > header.bottom tab {
+    padding-top: 4px; }
 notebook > stack:not(:only-child) {
   background-color: #292929; }
   notebook > stack:not(:only-child):backdrop {
index 887248c356627ea9ea4db24f48d2abd80d7de92f..d8de88c6538d679bc7170d276923990bb2c41e2e 100644 (file)
@@ -2216,6 +2216,10 @@ notebook > header {
       margin-bottom: 4px; }
       notebook > header.left tabs tab.reorderable-page, notebook > header.right tabs tab.reorderable-page {
         border-style: solid none; }
+  notebook > header.top tab {
+    padding-bottom: 4px; }
+  notebook > header.bottom tab {
+    padding-top: 4px; }
 notebook > stack:not(:only-child) {
   background-color: #ffffff; }
   notebook > stack:not(:only-child):backdrop {